import routerName from "./routerName";

const allRoutes = [
  {
    path: '/P1index',
    name: 'P1index',
    component: () => import('@/views/Page1/P1index.vue'),
    meta: {
      title: routerName['/P1index'],
      belongMenu: 'P1index'
    }
  },

  {
    path: '/P2index',
    name: 'P2index',
    component: () => import('@/views/Page2/P2index.vue'),
    meta: {
      title: routerName['/P2index'],
      belongMenu: 'P2index'
    }
  },

  {
    path: '/P3index',
    name: 'P3index',
    component: () => import('@/views/Page3/P3index.vue'),
    meta: {
      title: routerName['/P3index'],
      belongMenu: 'P3index'
    }
  },

  {
    path: '/P4_1',
    name: 'P4_1',
    component: () => import('@/views/Page4/page4_1.vue'),
    meta: {
      title: routerName['/P4_1'],
      belongMenu: 'P4_1'
    }
  },
  {
    path: '/P4_2',
    name: 'P4_2',
    component: () => import('@/views/Page4/page4_2.vue'),
    meta: {
      title: routerName['/P4_2'],
      belongMenu: 'P4_2'
    }
  },

  {
    path: '/Jurisdiction',
    name: 'Jurisdiction',
    component: () => import('@/views/jurisdiction/index.vue'),
    meta: {
      title: routerName['/Jurisdiction'],
      belongMenu: 'Jurisdiction'
    }
  },

  {
    path: '/Sort',
    name: 'Sort',
    component: () => import('@/views/sort/sort.vue'),
    meta: {
      title: routerName['/Sort'],
      belongMenu: 'Sort'
    }
  }
]

export default allRoutes